package com.frame.work.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "`tbl_joint_control_relation`")
public class JointControlRelationDO extends BaseClassEntity {
    /**
     * 联控主设备id
     */
    @TableField(value = "`start_device_id`")
    private String startDeviceId;
    /**
     * 网关id
     */
    @TableField(value = "`gateway_id`")
    private String gateWayId;

    /**
     * 联控从设备id
     */
    @TableField(value = "`end_device_id`")
    private String endDeviceId;

    @TableField(value = "`start_device_mac`")
    private String startDeviceMac;

    @TableField(value = "`end_device_mac`")
    private String endDeviceMac;

    @TableField(value = "`index_id`")
    private int indexId;

    @TableField(value = "`start_device_num`")
    private String startDeviceNum;

    @TableField(value = "`end_device_num`")
    private String endDeviceNum;

    @TableField(exist = false)
    private String productType;

    @TableField(exist = false)
    private String startDeviceName;

    @TableField(exist = false)
    private String endDeviceName;


}
